package com.hpdz.hotel_back.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hpdz.hotel_back.entity.Employee;
import com.hpdz.hotel_back.entity.Task;
import com.hpdz.hotel_back.utils.MyPage;
import com.hpdz.hotel_back.vo.TaskVo;

public interface TaskService extends IService<Task> {

    IPage<Task> listPage(Integer current, Integer size);

    MyPage<TaskVo> showAllTask(Integer current, Integer size);

    MyPage<TaskVo> showEmpTask(Integer current, Integer size, Employee emp);
}
